package com.spica.platform.base.encrypt.encryptbody.exception;

import com.spica.platform.base.exception.errorcode.IErrorCode;
import com.spica.platform.base.exception.instance.AbstractBaseException;

/**
 * <p>加密数据失败异常</p>
 */
public class EncryptBodyFailException extends AbstractBaseException {

    public EncryptBodyFailException() {
        super(EncryptRtnCodEnum.ENHANCE_ENCRYPT_ERROR);
    }

    public EncryptBodyFailException(IErrorCode errorCode, String message) {
        super(errorCode, message);
    }
}